package com.yykj.prescription.server.dto.template;

import com.yykj.prescription.client.enums.PrescriptionType;
import com.yykj.prescription.server.model.entity.template.TemplateDetailChina;
import com.yykj.prescription.server.model.entity.template.TemplateDetailChinaInfo;
import com.yykj.prescription.server.model.entity.template.TemplateDetailWest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class TemplateDetailEditDTO {
    @ApiModelProperty("模板ID")
    private Integer tempId;

    @ApiModelProperty("模板类型，west 西药方，china 中药方")
    private PrescriptionType type;

    @ApiModelProperty("当中药方时传入")
    private List<TemplateDetailChina> chinaList;

    @ApiModelProperty("当西药方时传入")
    private List<TemplateDetailWest> westList;

    @ApiModelProperty("当中药方时传入,中药用法用量方式")
    private TemplateDetailChinaInfo chinaUseInfo;
}
